<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
		<meta name="description" content="">
		<meta name="author" content="">

		<title>Dashboard Template for Bootstrap</title>
		<!-- Bootstrap core CSS -->
		<link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">

		<!-- Custom styles for this template -->
		<link th:href="@{/css/dashboard.css}" rel="stylesheet">

		<!--侧边栏-->
		<link th:href="@{/assets/dist/css/bootstrap.min.css}" rel="stylesheet">
		<link th:href="@{/assets/sidebars/sidebars.css}" rel="stylesheet">
		<script th:src="@{/assets/dist/js/bootstrap.bundle.min.js}"></script>

		<style>
		</style>

	</head>

	<body>

		<!--插入-->
		<div th:replace="~{commons/commons::top_bar}"></div>


		<div class="container-fluid">
			<div class="row">

				<!--插入-->
				<div th:replace="~{commons/commons::side_bar(active='ast_pfsi_device_branch_from.html')}"></div>

				<main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">
					<h5 >肥通支路信息定时上报-表单</h5>
					<form th:action="@{/asset/getAstPfsiDeviceBranchs}" method="post">
						<button type="submit" class="btn btn-primary">返回</button>

						<div class="container">

							<div class="row">
								<div class="col-md-3">
									<label>设备编码</label>
									<!--隐藏记录id type="hidden" -->
									<input th:value="${data.getAst_pfsi_device_branch_id()}" name="ast_pfsi_device_branch_id" type="hidden">
									<input th:value="${data.getDevice_code()}" type="text" name="device_code" class="form-control">
								</div>
								<div class="col-md-3">
									<label>cmd</label>
									<input th:value="${data.getCmd()}" type="text" name="cmd" class="form-control">
								</div>
								<div class="col-md-3">
									<label>消息版本号</label>
									<input th:value="${data.getVer()}" type="text" name="ver" class="form-control">
								</div>
							</div>

							<div class="row">
								<div class="col-md-3">
									<label>支路</label>
									<input th:value="${data.getNumber()}" type="text" name="number" class="form-control">
								</div>
								<div class="col-md-3">
									<label>搅拌泵状态</label>
									<input th:value="${data.getMax_pump()}" type="text" name="max_pump" class="form-control">
								</div>
								<div class="col-md-3">
									<label>进水开关</label>
									<input th:value="${data.getInput()}" type="text" name="input" class="form-control">
								</div>
								<div class="col-md-3">
									<label>出水开关</label>
									<input th:value="${data.getOutput()}" type="text" name="output" class="form-control">
								</div>
							</div>

							<div class="row">
								<div class="col-md-3">
									<label>管道流速</label>
									<input th:value="${data.getFlow()}" type="text" name="flow" class="form-control">
								</div>
								<div class="col-md-3">
									<label>管道累计流量</label>
									<input th:value="${data.getAddflow()}" type="text" name="addflow" class="form-control">
								</div>
								<div class="col-md-3">
									<label>记录时间</label>
									<input th:value="${#dates.format(data.getCreate_time(),'yyyy-MM-dd HH:mm:ss')}" type="datetime-local"  name="create_time" class="form-control">
								</div>
							</div>

						</div>

					</form>

				</main>
			</div>
		</div>

	</body>

</html>